<include file="Public:header" />
<script>
    <!--
    $(function(){
        $.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, function(){this.close();$(obj).focus();})}});
        $("#uname").formValidator({onshow:"请输入用户名",onfocus:"请输入用户名",oncorrect:"输入正确"}).inputValidator({min:4,max:20,onerror:"用户名格式错误"}).regexValidator({regexp:"username",datatype:"enum",param:'i',onerror:"用户名格式错误"});
    })
    //-->
</script>
<div class="common-form">
    <form name="myform" id="myform" action="__SELF__" method="post">
        <input type="hidden" name="doclose" id="doclose" value="0">
        <table width="100%" class="table_form contentWrap">
            <tr>
                <td width="80">会员名：</td>
                <td><input type="text" name="vip[uname]" id="uname" size="50" value="{$vo.uname}"/></td>
            </tr>
            <tr>
                <td>会员组：</td>
                <td>
            <volist name="grouplist" id="vol">
                <if condition="$vol.id gt 4"><input type="radio" name="vip[gid]" value="{$vol.id}" <eq name="vol.id" value="$vo.gid">checked</eq>/>{$vol.gname}&nbsp;</if>
            </volist>
            </td>
            </tr>
            <tr>
                <td>服务有效期：</td>
                <td>{$vo.viptotime|date="Y-m-d",###|show_date='vip[viptotime]',###,0,0,'false'}</td>
            </tr>
        </table>
        <div class="bk15"></div>
        <div class="btn"><input type="submit" id="dosubmit" class="dialog" name="dosubmit" value=" 提 交 "/></div>
    </form>
</div>